package com.fqgj.sentry.biz.mc.vo.menu;


import java.util.List;

/**
 * Created by ykpbean kangping.ying@yuntu-inc.com
 *
 * @description
 * @create 2017-07-20 下午3:58
 */


public class MenuVo {
    /**
     * 菜单id
     */
    private Long id;
    /**
     * 菜单名称
     */
    private String name;
    /**
     * 菜单uri
     */
    private String uri;
    /**
     * 菜单描述
     */
    private String description;
    /**
     * 父菜单
     */
    private Long pid;
    /**
     * 是否是子节点
     */
    private Boolean isLeaf;
    /**
     * 子菜单
     */
    private List<MenuVo> subMenu;
    /**
     * 操作权限
     */
    private List<OperatePermissionVo> operatePermission;

    public Long getId() {
        return id;
    }

    public MenuVo setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public MenuVo setName(String name) {
        this.name = name;
        return this;
    }

    public String getUri() {
        return uri;
    }

    public MenuVo setUri(String uri) {
        this.uri = uri;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public MenuVo setDescription(String description) {
        this.description = description;
        return this;
    }

    public Long getPid() {
        return pid;
    }

    public MenuVo setPid(Long pid) {
        this.pid = pid;
        return this;
    }

    public Boolean getLeaf() {
        return isLeaf;
    }

    public MenuVo setLeaf(Boolean leaf) {
        isLeaf = leaf;
        return this;
    }

    public List<MenuVo> getSubMenu() {
        return subMenu;
    }

    public MenuVo setSubMenu(List<MenuVo> subMenu) {
        this.subMenu = subMenu;
        return this;
    }

    public List<OperatePermissionVo> getOperatePermission() {
        return operatePermission;
    }

    public MenuVo setOperatePermission(List<OperatePermissionVo> operatePermission) {
        this.operatePermission = operatePermission;
        return this;
    }
}
